package com.dyness;

import com.dyness.poi.controller.CityImportController;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author haiqing.gao
 * @date 2024-01-05 15:09
 */
@SpringBootApplication
@MapperScan("com.dyness.sdsp.mapper")
public class CityApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(CityApplication.class, args);
    }

    @Autowired
    CityImportController controller;

    @Override
    public void run(String... args) throws Exception {
        // controller.importCity();
    }
}
